#include "device_property.h"


namespace uzu
{
    DeviceProperty::DeviceProperty()
    {
        // query number of devices
        cudaGetDeviceCount(&m_NumDevice);

        m_DeviceProperties.resize(m_NumDevice);
        for (int i = 0; i < m_NumDevice; ++i)
        {
            cudaGetDeviceProperties(&m_DeviceProperties[i], i);
        }

    }

}
